package com.mtons.mblog.modules.rabbitmq;

import java.io.Serializable;
import java.util.Map;

/**
 * @ClassName: EmailMqMessage
 * @Auther: Jerry
 * @Date: 2020/5/15 9:50
 * @Desctiption: 邮件相关消息队列
 * @Version: 1.0
 */
public class EmailMqMessage implements Serializable {
    private static final long serialVersionUID = -2881079867759864292L;

    private String to;
    private String title;
    private String template;
    private Map<String, Object> content;

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public Map<String, Object> getContent() {
        return content;
    }

    public void setContent(Map<String, Object> content) {
        this.content = content;
    }

    public EmailMqMessage() {
    }

    public EmailMqMessage(String to, String title, String template, Map<String, Object> content) {
        this.to = to;
        this.title = title;
        this.template = template;
        this.content = content;
    }

}
